home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3s / putws.z / putws
Encoding:
Text File  |  1998-10-20  |  3.5 KB  |  66 lines

  1.  
  2.  
  3.  
  4. ppppuuuuttttwwwwssss((((3333SSSS))))                                                            ppppuuuuttttwwwwssss((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      _pppp_uuuu_tttt_wwww_ssss_,,,, _ffff_pppp_uuuu_tttt_wwww_ssss  - put a _wwww_cccc_hhhh_aaaa_rrrr______tttt string on a stream
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_ssss_tttt_dddd_iiii_oooo_...._hhhh_>>>>
  13.      _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_wwww_iiii_dddd_eeee_cccc_...._hhhh_>>>>
  14.      _iiii_nnnn_tttt _pppp_uuuu_tttt_wwww_ssss_((((_cccc_oooo_nnnn_ssss_tttt _wwww_cccc_hhhh_aaaa_rrrr______tttt _****_s_))))_;;;;
  15.      _iiii_nnnn_tttt _ffff_pppp_uuuu_tttt_wwww_ssss_((((_cccc_oooo_nnnn_ssss_tttt _wwww_cccc_hhhh_aaaa_rrrr______tttt _****_s_,,,, _FFFF_IIII_LLLL_EEEE _****_s_t_r_e_a_m_))))_;;;;
  16.  
  17. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN ((((IIIInnnntttteeeerrrrnnnnaaaattttiiiioooonnnnaaaallll FFFFuuuunnnnccccttttiiiioooonnnnssss))))
  18.      _pppp_uuuu_tttt_wwww_ssss transforms the _wwww_cccc_hhhh_aaaa_rrrr______tttt null-terminated _wwww_cccc_hhhh_aaaa_rrrr______tttt string pointed to by
  19.      _s into a byte string in EUC, and writes the string followed by a newline
  20.      character to _ssss_tttt_dddd_oooo_uuuu_tttt.
  21.  
  22.      _ffff_pppp_uuuu_tttt_wwww_ssss transforms the _wwww_cccc_hhhh_aaaa_rrrr______tttt null-terminated _wwww_cccc_hhhh_aaaa_rrrr______tttt string pointed to
  23.      by _s into a byte string in EUC, and writes the string to the named output
  24.      stream.
  25.  
  26.      Neither function writes the terminating _wwww_cccc_hhhh_aaaa_rrrr______tttt null character.
  27.  
  28. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  29.      _ffff_eeee_rrrr_rrrr_oooo_rrrr(3S), _ffff_oooo_pppp_eeee_nnnn(3S), _ffff_rrrr_eeee_aaaa_dddd(3S), _pppp_rrrr_iiii_nnnn_tttt_ffff(3S), _ssss_tttt_dddd_iiii_oooo(3S), _pppp_uuuu_tttt_wwww_cccc(3S),
  30.      _wwww_iiii_dddd_eeee_cccc(3S).
  31.  
  32. DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  33.      On success, both functions return the number of _wwww_cccc_hhhh_aaaa_rrrr______tttt characters
  34.      transformed and written (not including the newline character in the case
  35.      of _pppp_uuuu_tttt_wwww_ssss).  Otherwise they return _EEEE_OOOO_FFFF.
  36.  
  37. NNNNOOOOTTTTEEEESSSS
  38.      _pppp_uuuu_tttt_wwww_ssss appends a newline character while _ffff_pppp_uuuu_tttt_wwww_ssss does not.
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.                                                                         PPPPaaaaggggeeee 1111
  63.  
  64.  
  65.  
  66.